Skip to main content
Version: Upcoming

OptExpiryDefinition

V8 Message Definiton

This table maps option root/expiration combinations to their deliverable future. Mappings are sourced fromm listing exchange product definitions. BaseObj:Root

METADATA

AttributeValue
Topic4335-product-definition
MLink TokenOptionDefinition
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
ekey_atenum - AssetTypePRI'None'option rootexpiration
ekey_tsenum - TickerSrcPRI'None'option rootexpiration
ekey_tkVARCHAR(12)PRI''option rootexpiration
ekey_yrSMALLINT UNSIGNEDPRI0option rootexpiration
ekey_mnTINYINT UNSIGNEDPRI0option rootexpiration
ekey_dyTINYINT UNSIGNEDPRI0option rootexpiration
ticker_atenum - AssetType'None'master ticker
ticker_tsenum - TickerSrc'None'master ticker
ticker_tkVARCHAR(12)''master ticker
fkey_atenum - AssetType'None'settlement future if any
fkey_tsenum - TickerSrc'None'settlement future if any
fkey_tkVARCHAR(12)''settlement future if any
fkey_yrSMALLINT UNSIGNED0settlement future if any
fkey_mnTINYINT UNSIGNED0settlement future if any
fkey_dyTINYINT UNSIGNED0settlement future if any
uPrcDriverKey_atenum - AssetType'None'underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKey_tsenum - TickerSrc'None'underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKey_tkVARCHAR(12)''underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKey_yrSMALLINT UNSIGNED0underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKey_mnTINYINT UNSIGNED0underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKey_dyTINYINT UNSIGNED0underlier price driver for this option expiry default is fkey if it exists
uPrcDriverKeyTypeenum - SpdrKeyType'None'Stock or Future
uPrcBoundFKey_atenum - AssetType'None'underlier price bounding future if any for this option expiry
uPrcBoundFKey_tsenum - TickerSrc'None'underlier price bounding future if any for this option expiry
uPrcBoundFKey_tkVARCHAR(12)''underlier price bounding future if any for this option expiry
uPrcBoundFKey_yrSMALLINT UNSIGNED0underlier price bounding future if any for this option expiry
uPrcBoundFKey_mnTINYINT UNSIGNED0underlier price bounding future if any for this option expiry
uPrcBoundFKey_dyTINYINT UNSIGNED0underlier price bounding future if any for this option expiry
expirationDATETIME(6)'1900-01-01 00:00:00.000000'option expiration date and time
maturityDateDATETIME(6)'1900-01-01 00:00:00.000000'
displayFactorDOUBLE0
cabPriceDOUBLE0
priceFormatenum - PriceFormat'None'
minTickSizeDOUBLE0
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ekey_tk1
ekey_yr2
ekey_mn3
ekey_dy4
ekey_at5
ekey_ts6

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRLive`.`MsgOptExpiryDefinition`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1;

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='OptExpiryDefinition' ORDER BY ordinal_position ASC;